package com.wx.javacode.poly_.objectpoly_;

/**
 * ClassName:PolyObject
 * Package :com.wx.javacode.poly_.objectpoly_
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/18 - 16:00
 */
public class PolyObject {
    public static void main(String[] args) {
        Animal animal = new Cat();
        animal.cry();
        animal = new Dog();
        animal.cry();
    }
}
